//
//  SZZStatusOriginView.swift
//  SZZweibo
//
//  Created by 申壮壮 on 16/8/14.
//  Copyright © 2016年 itcast. All rights reserved.
//

import UIKit

class SZZStatusOriginView: UIView {

    //创建一个可供外界赋值的ViewModel
    
    var stautsViewModel:SZZStatusOriginView?{
        
        didSet{
           
            
            
        }
        
    }
    
    // 懒加载 
    
    //头像
    private lazy var headImageView:UIImageView = UIImageView(imgName: "avatar_default")
    //名字
    private lazy var nameLabel: UILabel = {
        
        let lab = UILabel()
        lab.font = UIFont.systemFontOfSize(15)
        lab.textColor = UIColor.darkGrayColor()
        
        return lab
        
    }()
    
    //用户等级
    private lazy var menmbershipImageView:UIImageView = UIImageView(imgName: "common_icon_membership")
    
    //时间
    private lazy var timeLabel:UILabel = UILabel(textColor: UIColor.darkGrayColor(), textSize: 10)
    //来源
    private lazy var sourceLabel: UILabel = UILabel(textColor: UIColor.darkGrayColor(), textSize: 10)
    
    //认证
    private lazy var avatarImage: UIImageView = UIImageView(imgName: "avatar_vgirl")
    
    //微博正文
    private lazy var conterLabel:UILabel = UILabel(textColor: UIColor.darkGrayColor(), textSize: 15, maxWith: -20)
    
    

}
